package com.blb.ssm.service;

import java.util.List;
import java.util.Map;

public interface OrderService {

	/**
	 * 分页/条件(订单状态及采购状态)
	 * 
	 * @param ostate
	 * @param otype
	 * @param page 
	 * @return
	 * @throws Exception 
	 */
	List<Map<String, Object>> getlist(String ostate, String otype, int page) throws Exception;

	/**
	 * 获取条数
	 * @param ostate
	 * @param otype
	 * @return
	 * @throws Exception
	 */
	int getCount(String ostate, String otype) throws Exception;

	/**
	 * 删除
	 * @param oid
	 * @param ostate
	 * @param otype
	 * @throws Exception
	 */
	void getDeleteOrder(String oid, String ostate, String otype) throws Exception;

	List<Map<String, Object>> getOnelist(String ostate, String otype, String oid)throws Exception;

}
